package com.hl.card.credit.pub.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 交易信息表(要确定一条信息，必须是订单号+业务类型+交易序号+交易类型同时匹配)
 * 
 * @author wdf
 * 
 */
public class PublicTransactionInfo {
	/**
	 * 主键ID
	 */
	private Integer transaction_info_id;

	/**
	 * 订单号
	 */
	private String order_code;

	/**
	 * 交易日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date transaction_date;

	/**
	 * 交易时间
	 */
	private Date transaction_time;

	/**
	 * 关联交易号
	 */
	private String transaction_num;

	/**
	 * 业务种类（机票、火车票。。。)
	 */
	private String busines_species;

	/**
	 * 交易方式（收入、支出）
	 */
	private Integer transaction_mode;

	/**
	 * 帐号类型
	 */
	private Integer account_type;

	/**
	 * 帐号
	 */
	private String account;

	/**
	 * 交易金额（不含手续费）
	 */
	private Double transaction_price;

	/**
	 * 业务类型（正常、退票、改签、交易手续费）
	 */
	private String business_type;

	/**
	 * 交易类型
	 */
	private Integer transaction_type;

	/**
	 * 交易序号（除正常订单外，必须与订单号实现+业务类型多级定位）
	 */
	private String transaction_number;

	/**
	 * 所属商户（商户代码）
	 */
	private String merchant_code;

	/**
	 * 订单来源（商户应用）
	 */
	private String source;

	/**
	 * 上级商户（与所属商户实行双级定位）（冗余）
	 */
	private String parent_merchant;

	/**
	 * 所属客户（客户代码）（冗余）
	 */
	private String the_customer;

	/**
	 * 交易平台类型
	 */
	private Integer transaction_platform_type;

	/**
	 * 交易平台
	 */
	private String transaction_platform;

	/**
	 * 交易平台帐号
	 */
	private String transaction_platform_account;

	/**
	 * 对方财务帐号
	 */
	private String other_finace_account;
	
	/**
	 * 对方交易人员
	 */
	private String other_finace_user;

	/**
	 * 业务订单号
	 */
	private String busines_order_num;

	/**
	 * 交易流水号
	 */
	private String trading_flow_num;

	/**
	 * 是否审核（订单、财务、帐单全部核对的结果）
	 */
	private Integer is_examine;

	/**
	 * 审核人
	 */
	private String examine_user;

	/**
	 * 审核时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date examine_date;

	/**
	 * 审核方式（人工、自动）
	 */
	private Integer examine_mode;

	/**
	 * 是否有效
	 */
	private String is_effect;

	/**
	 * 出行人信息(json)
	 */
	private String traveling_person_info;

	/**
	 * 行程信息(json)
	 */
	private String trip_info;

	/**
	 * 补充信息
	 */
	private String remark;
	
	/**
	 * 费率
	 */
	private Double rates;
	
	
	/**
	 * @return other_finace_user
	 */
	
	public String getOther_finace_user() {
		return other_finace_user;
	}

	/**
	 * @param paramtheparamthe{bare_field_name} to set
	 */
	
	public void setOther_finace_user(String other_finace_user) {
		this.other_finace_user = other_finace_user;
	}

	/**
	 * @return rates
	 */
	
	public Double getRates() {
		return rates;
	}

	/**
	 * @param paramtheparamthe{bare_field_name} to set
	 */
	
	public void setRates(Double rates) {
		this.rates = rates;
	}

	public void setTransaction_info_id(Integer transaction_info_id) {
		this.transaction_info_id = transaction_info_id;
	}

	public Integer getTransaction_info_id() {
		return this.transaction_info_id;
	}

	public void setOrder_code(String order_code) {
		this.order_code = order_code;
	}

	public String getOrder_code() {
		return this.order_code;
	}

	public void setTransaction_date(Date transaction_date) {
		this.transaction_date = transaction_date;
	}

	public Date getTransaction_date() {
		return this.transaction_date;
	}

	public void setTransaction_time(Date transaction_time) {
		this.transaction_time = transaction_time;
	}

	public Date getTransaction_time() {
		return this.transaction_time;
	}

	public void setTransaction_num(String transaction_num) {
		this.transaction_num = transaction_num;
	}

	public String getTransaction_num() {
		return this.transaction_num;
	}

	public void setBusines_species(String busines_species) {
		this.busines_species = busines_species;
	}

	public String getBusines_species() {
		return this.busines_species;
	}

	public void setTransaction_mode(Integer transaction_mode) {
		this.transaction_mode = transaction_mode;
	}

	public Integer getTransaction_mode() {
		return this.transaction_mode;
	}

	public void setAccount_type(Integer account_type) {
		this.account_type = account_type;
	}

	public Integer getAccount_type() {
		return this.account_type;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getAccount() {
		return this.account;
	}

	public void setTransaction_price(Double transaction_price) {
		this.transaction_price = transaction_price;
	}

	public Double getTransaction_price() {
		return this.transaction_price;
	}

	public void setBusiness_type(String business_type) {
		this.business_type = business_type;
	}

	public String getBusiness_type() {
		return this.business_type;
	}

	public void setTransaction_type(Integer transaction_type) {
		this.transaction_type = transaction_type;
	}

	public Integer getTransaction_type() {
		return this.transaction_type;
	}

	public void setTransaction_number(String transaction_number) {
		this.transaction_number = transaction_number;
	}

	public String getTransaction_number() {
		return this.transaction_number;
	}

	public void setMerchant_code(String merchant_code) {
		this.merchant_code = merchant_code;
	}

	public String getMerchant_code() {
		return this.merchant_code;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getSource() {
		return this.source;
	}

	public void setParent_merchant(String parent_merchant) {
		this.parent_merchant = parent_merchant;
	}

	public String getParent_merchant() {
		return this.parent_merchant;
	}

	public void setThe_customer(String the_customer) {
		this.the_customer = the_customer;
	}

	public String getThe_customer() {
		return this.the_customer;
	}

	public void setTransaction_platform_type(Integer transaction_platform_type) {
		this.transaction_platform_type = transaction_platform_type;
	}

	public Integer getTransaction_platform_type() {
		return this.transaction_platform_type;
	}

	public void setTransaction_platform(String transaction_platform) {
		this.transaction_platform = transaction_platform;
	}

	public String getTransaction_platform() {
		return this.transaction_platform;
	}

	public void setTransaction_platform_account(
			String transaction_platform_account) {
		this.transaction_platform_account = transaction_platform_account;
	}

	public String getTransaction_platform_account() {
		return this.transaction_platform_account;
	}

	public void setOther_finace_account(String other_finace_account) {
		this.other_finace_account = other_finace_account;
	}

	public String getOther_finace_account() {
		return this.other_finace_account;
	}

	public void setBusines_order_num(String busines_order_num) {
		this.busines_order_num = busines_order_num;
	}

	public String getBusines_order_num() {
		return this.busines_order_num;
	}

	public void setTrading_flow_num(String trading_flow_num) {
		this.trading_flow_num = trading_flow_num;
	}

	public String getTrading_flow_num() {
		return this.trading_flow_num;
	}

	public void setIs_examine(Integer is_examine) {
		this.is_examine = is_examine;
	}

	public Integer getIs_examine() {
		return this.is_examine;
	}

	public void setExamine_user(String examine_user) {
		this.examine_user = examine_user;
	}

	public String getExamine_user() {
		return this.examine_user;
	}

	public void setExamine_date(Date examine_date) {
		this.examine_date = examine_date;
	}

	public Date getExamine_date() {
		return this.examine_date;
	}

	public void setExamine_mode(Integer examine_mode) {
		this.examine_mode = examine_mode;
	}

	public Integer getExamine_mode() {
		return this.examine_mode;
	}

	public void setIs_effect(String is_effect) {
		this.is_effect = is_effect;
	}

	public String getIs_effect() {
		return this.is_effect;
	}

	public void setTraveling_person_info(String traveling_person_info) {
		this.traveling_person_info = traveling_person_info;
	}

	public String getTraveling_person_info() {
		return this.traveling_person_info;
	}

	public void setTrip_info(String trip_info) {
		this.trip_info = trip_info;
	}

	public String getTrip_info() {
		return this.trip_info;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getRemark() {
		return this.remark;
	}

}
